package com.fuluwa.domain.category.service.dto;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.alibaba.fastjson.annotation.JSONField;
import com.fuluwa.domain.category.model.Category;

/**
 * 类目导航DTO
 * 
 * @author leasenli
 * 
 */
public class NavDTO {

	private Category category;
	private List<Category> fullPath;

	@JSONField(name = "list")
	private List<Category> childs;

	public Category getCategory() {
		return category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public List<Category> getFullPath() {
		return fullPath;
	}

	public void setFullPath(List<Category> fullPath) {
		this.fullPath = fullPath;
	}

	public List<Category> getChilds() {
		return childs;
	}

	public void setChilds(List<Category> childs) {
		this.childs = childs;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
